package com.zs.toolbox.web2j.system.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zs.toolbox.web2j.common.domain.WtBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 字典类型条目表
 * </p>
 *
 * @author eric.zhang
 * @since 2018-10-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_dictionary_item")
@ApiModel(value="WtDictionaryItemEntity对象", description="字典类型条目表")
public class WtDictionaryItemEntity extends WtBaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("ID")
    private String id;

    @ApiModelProperty(value = "序号",required = false,example = "0")
    @TableField(value = "SORT")
    private Integer sort = 0;

    @ApiModelProperty(value = "字典内容")
    @TableField("TEXT")
    private String text;

    @ApiModelProperty(value = "值",example = "0")
    @TableField("VALUE")
    private Integer value = 0;

    @ApiModelProperty(value = "类型ID")
    @TableField("TYPE_ID")
    private String typeId;


}
